<template>
	<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
		<swiper-item v-for="(item,index) in dataList">
			<view class="swiper-item">
				<image class="swiper-img" :src="item.imgUrl" mode=""></image>
			</view>
		</swiper-item>
	</swiper>
</template>

<script>
export default {
	props:{
		dataList:Array,
	}
}
</script>

<style scoped>
.swiper {
	height: 400rpx;
	width: 100%;
}
.swiper-img {
	height: 400rpx;
	width: 100%;
}
</style>

